package com.lwl.office.webeditor.parser;

import com.lwl.office.webeditor.ParserContext;
import com.lwl.office.webeditor.style.Style;
import org.jsoup.nodes.Node;

/**
 * 节点解析器
 */
public abstract class NodeParser {
    private Node node;

    public Node getNode() {
        return node;
    }

    public NodeParser build(Node node){
        this.node = node;
        return this;
    }
    public abstract void parser(ParserContext context, Style style);
}
